Skip to main content

DescribeScalingActivities

Description

call the DescribeScalingActivities to query the information of scaling activities in the scaling group.

Request Method

POST

Request Path

/apsara/route/Ess/DescribeScalingActivities

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
PageSizeBODYintegerNoNo sample value for this parameter.the number of rows per page set during paging query, the maximum value is 50, and the default value is 10.
PageNumberBODYintegerNoNo sample value for this parameter.the page number of the scaling activity list, with a starting value of 1 and a default value of 1.
regionIdBODYstringYesNo sample value for this parameter.region id
ScalingGroupIdBODYstringNoNo sample value for this parameter.ID of the scaling group.
RegionIdBODYstringYesNo sample value for this parameter.the region where the scaling activity is located.
ScalingActivityId.NBODYstringNoNo sample value for this parameter.the ID of the scaling activity, ranging from 1 to 10. When the query result is returned, the invalid scaling activity ID is ignored and no error is reported.
StatusCodeBODYstringNoNo sample value for this parameter.The status of the scaling activity. The value range is: Successful: successful scaling activity. Warning: partially performed successful scaling activities. Failed: failed scaling activity. InProgress: scaling activity being performed. Rejected: the request to perform the scaling activity was rejected.
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIDstring1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DCRequest id

Example

Successful Response example

{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}